package com.atmilan.quartz.service;

import java.util.List;

import com.atmilan.quartz.model.dto.crmeb.StoreProductAttrSearchRequest;
import com.atmilan.quartz.model.entity.crmeb.StoreProductAttr;
import com.atmilan.quartz.model.result.crmeb.PageParamRequest;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Mr.Zhang
* @description StoreProductAttrService 接口
* @date 2020-05-27
*/
public interface IStoreProductAttrLuxuryService extends IService<StoreProductAttr> {

    List<StoreProductAttr> getList(StoreProductAttrSearchRequest request, PageParamRequest pageParamRequest);

    Boolean batchSave(List<StoreProductAttr> storeProductAttrs);

    Boolean batchUpdate(List<StoreProductAttr> storeProductAttrs);

    List<StoreProductAttr> getByProductId(int productId);

    void removeByProductId(Integer productId);

    /**
     * 清空指定表
     * @Description:  
     * @author daigb 
     * @param 
     * @return void
     * @throws
     */
    void deleteAll();

}
